package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TAdPlace;
import com.bootdo.project.dao.TAdPlaceMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TAdPlaceService {

	@Autowired
    private TAdPlaceMapper tAdPlaceMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tAdPlaceMapper.deleteByPrimaryKey(id);
    }

    public int insert(TAdPlace record){
        return tAdPlaceMapper.insert(record);
    }

    public int insertSelective(TAdPlace record){
        return tAdPlaceMapper.insertSelective(record);
    }

    public TAdPlace selectByPrimaryKey(Integer id){
        return tAdPlaceMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TAdPlace record){
        return tAdPlaceMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TAdPlace record){
        return tAdPlaceMapper.updateByPrimaryKey(record);
    }

    public List<TAdPlace> selectByCondition(TAdPlace record){
        return tAdPlaceMapper.selectByCondition(record);
    }

    public List<TAdPlace> selectAll(){
        return tAdPlaceMapper.selectAll();
    }

    public List<TAdPlace> selectByPage(Page<TAdPlace> page){
        return tAdPlaceMapper.selectByPage(page);
    }

    public Integer count(TAdPlace record){
        return tAdPlaceMapper.count(record);
    }

    public int deleteByCondition(TAdPlace record){
        return tAdPlaceMapper.deleteByCondition(record);
    }

}
